const env = process.env.NODE_ENV;

if (env === 'dev') {
    MYSQL_CONFIG = {
        host: 'localhost',
        user: 'root',
        password: 'root',
        database: 'blogs'
    }
}


if (env === 'production') {
    MYSQL_CONFIG = {
        host: 'localhost',
        user: 'root',
        password: '123456',
        database: 'blogs'
    }
}

module.exports = MYSQL_CONFIG;